package com.lost.octopus.es.processor.scheduler.entity;

import lombok.Data;
import lombok.extern.log4j.Log4j2;

/**
 * 全量调度信息
 * @author zhangbh
 * @date 2025/4/18 16:49
 */
@Data
@Log4j2
public class FullSyncInfo {

    /**
     * 索引/任务名称
     */
    private String jobName;
    /**
     * 当前执行到的最大id
     */
    private Integer maxId;

    /**
     * 数据量
     */
    private Integer dataCount;

    public FullSyncInfo(String jobName, Integer maxId, Integer dataCount) {
        this.jobName = jobName;
        this.maxId = maxId;
        this.dataCount = dataCount;
    }
}
